"""
通过python默认整合的requests模块实现爬虫程序 hello world
"""
import requests

baidu_url = 'https://www.baidu.com'

response = requests.get(baidu_url, timeout=5)
print(response)
print(type(response))
response.encoding = 'utf-8'
print(response.text)
